﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entities.QueryPersist
{
    public class QueryDbContext : DbContext
    {
        public QueryDbContext() : base("name=CqrsEsMvc.QueryDbContext")
        {
        }

        public System.Data.Entity.DbSet<Entities.CustomerEntity> Customers { get; set; }

        public System.Data.Entity.DbSet<Entities.OrderEntity> Orders { get; set; }

        public System.Data.Entity.DbSet<Entities.OrderItemEntity> OrderItems { get; set; }

        public System.Data.Entity.DbSet<Entities.ProductEntity> Products { get; set; }
    }
}
